Freescale Semiconductor /MKE18F16 /RTC /CR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (0)SWR 0 (0)WPE 0 (0)SUP 0 (0)UM 0 (0)CPS 0 (0)LPOS 0 (0)OSCE 0 (0)CLKO 0 (00)CPE

LPOS=0, SWR=0, CPE=00, OSCE=0, UM=0, SUP=0, WPE=0, CPS=0, CLKO=0

Description

RTC Control Register

Fields

SWR

Software Reset

0 (0): No effect.

1 (1): Resets all RTC registers except for the SWR bit . The SWR bit is cleared by POR and by software explicitly clearing it.

WPE

Wakeup Pin Enable

0 (0): Wakeup pin is disabled.

1 (1): Wakeup pin is enabled and wakeup pin asserts if the RTC interrupt asserts or the wakeup pin is turned on.

SUP

Supervisor Access

0 (0): Non-supervisor mode write accesses are not supported and generate a bus error.

1 (1): Non-supervisor mode write accesses are supported.

UM

Update Mode

0 (0): Registers cannot be written when locked.

1 (1): Registers can be written when locked under limited conditions.

CPS

Clock Pin Select

0 (0): The prescaler output clock (as configured by TSIC) is output on RTC_CLKOUT.

1 (1): The RTC 32kHz crystal clock is output on RTC_CLKOUT.

LPOS

LPO Select

0 (0): RTC prescaler increments using 32 kHz crystal.

1 (1): RTC prescaler increments using 128 kHz LPO, bits [4:0] of the prescaler are bypassed.

OSCE

Oscillator Enable

0 (0): 32.768 kHz oscillator is disabled.

1 (1): 32.768 kHz oscillator is enabled. After setting this bit, wait the oscillator startup time before enabling the time counter to allow the 32.768 kHz clock time to stabilize.

CLKO

Clock Output

0 (0): The 32 kHz clock is allowed to output on RTC_CLKOUT.

1 (1): The 32 kHz clock is not allowed to output on RTC_CLKOUT.

CPE

Clock Pin Enable

0 (00): RTC_CLKOUT is disabled.

1 (01): RTC_CLKOUT is enabled.

Links

() ()